package cn.bonoon.controllers.fmm;

import cn.bonoon.kernel.annotations.OptionArray;
import cn.bonoon.kernel.annotations.ResetProperties;
import cn.bonoon.kernel.annotations.ResetProperty;

@ResetProperties({
	@ResetProperty(value = "name", name = "用户名"),
	@ResetProperty(value = "loginName", name = "登录名"),
	
	@ResetProperty(value = "hasLogon", name = "是否登录过", 
		options = @OptionArray({"否", "是"})),
	@ResetProperty(value = "lastLogonIp", name = "上次登录IP"),
	@ResetProperty(value = "lastLogonAt", name = "上次登录时间"),
	@ResetProperty(value = "logonMessage", name = "上次登录信息"),

	@ResetProperty(value = "currentLogonIp", name = "本次登录IP"),
	@ResetProperty(value = "currentLogonAt", name = "本次登录时间"),

	@ResetProperty(value = "createAt", name = "创建时间"),
	@ResetProperty(value = "passwordUpdateAt", name = "上次修改密码"),
	@ResetProperty(value = "forcedChangePwd", name = "强制改密码"),
	@ResetProperty(value = "expiredAt", name = "过期时间"),
	
	@ResetProperty(value = "typeName", name = "类别"),
	@ResetProperty(value = "proxyable", name = "代管账号", 
			options = @OptionArray({"不允许", "允许代管"})),
	@ResetProperty(value = "extStatus", name = "扩展状态", options = @OptionArray(value = {"禁用", "未启用", "正常", "其它"}, offset = -1)),
	@ResetProperty(value = "status", name = "状态", 
		options = @OptionArray(value = {"禁用", "未启用", "正常", "其它"}, offset = -1)),
	@ResetProperty(value = "flag", name = "身份", 
		options = @OptionArray({"访客", "客户", "普通用户", "管理员", "超级管理员", "扩展一", "扩展二", "扩展三", "其他用户"})),
	@ResetProperty(value = "extFlag", name = "扩展身份"),
	@ResetProperty(value = "remark", name = "备注")
})
public interface AccountDefine {
}
